package lesson7;

public class Student extends Person{
    private String stuId;

    public Student(){
        System.out.println("Student()....");

    }

    public Student(String stuId){
        this.stuId = stuId;
    }

    public Student(String name,int age,String sex,String stuId){
//        setName(name);
//        setAge(age);
//        setSex(sex);
        //super(name,age,sex);
        this.stuId = stuId;
        System.out.println("Student(String name,int age,String sex,String stuId)");
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }
}
